bucket 50

image {
  resolution 640 480
  aa 0 0
  filter gaussian
}


camera {
  type pinhole
  eye    0 0 -7
  target 0 0 1
  up     0 1 0
  fov    60
  aspect 1.333333
}

light {
   type point
   color { "sRGB nonlinear" 0.5 0.8 0.2 }
   power 140.0
   p 0 10 -10
}

light {
   type point
   color { "sRGB nonlinear" 0.8 0.8 0.8 }
   power 100.0
   p -2.5 1 6
}

shader {
  name violet
  type phong
  diff { "sRGB nonlinear" 1 0 1 }
  spec { "sRGB nonlinear" 1 1 1 } 10
}


shader {
  name cyan
  type phong
  diff { "sRGB nonlinear" 0 1 1 }
  spec { "sRGB nonlinear" 1 1 1 } 10
}


shader {
	name orange
	type phong
	diff { "sRGB nonlinear" 0.9 0.6 0.6 }
  	spec { "sRGB nonlinear" 1 1 1 } 10
}

shader {
	name mirror
	type mirror
	refl { "sRGB nonlinear" 0.25 0.36 0.78 }
}

shader {
	name glass
	type glass
	eta 0.98
	color { "sRGB nonlinear" 1.0 1.0 1.0 }
	absorbtion.distance 5
	absorbtion.color { "sRGB nonlinear" 0 0 0 }
}

object {
	shader mirror
	type sphere
	c -1 -1 2
	r 1
}

object {
	shader orange
	type sphere
	c -2.5 1 -0.5
	r 1
}

object {
	shader cyan
	type sphere
	c 1 1 3
	r 1
}

object {
	shader violet
	type sphere
	c 1 -1 2
	r 1
}

object {
	shader cyan
	type plane
	p 0 -2 0
	n 0 1 0
}

object {
	shader glass
	type sphere
	c 0 0 -4
	r 0.5
}

